package com.uchengwang.functions.http.config;

import com.uchengwang.functions.http.listener.IHttpManager;

/**
 * Created by U城网 on 2017/6/1.
 * 登录注册config
 */

public interface LoginConfig {

    /**
     * 登录
     * */
    public interface Login{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/account";

    }

    /**
     * 修改密码
     * */
    public interface ChangePw{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.PUT;
        String URL = "/account/changepwd";

    }

    /**
     * 获取修改密码的验证码
     * */
    public interface GetCodeChangePw{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/account/changepwd/validcode";
    }

    /**
     * 注册
     * */
    public interface Register{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/account/reg";
    }

    /**
     * 获取注册验证码
     * */
    public interface GetCodeRegister{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;
        String URL = "/account/reg/validcode";
    }

}
